<!doctype html>
<html class="no-js">
<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="description" content="">
  <meta name="keywords" content="">
  <meta name="viewport"
        content="width=device-width, initial-scale=1">
  <title>结算页面</title>

  <!-- Set render engine for 360 browser -->
  <meta name="renderer" content="webkit">

  <!-- No Baidu Siteapp-->
  <meta http-equiv="Cache-Control" content="no-siteapp"/>

  <link rel="icon" type="image/png" href="i/favicon.png">

  <!-- Add to homescreen for Chrome on Android -->
  <meta name="mobile-web-app-capable" content="yes">
  <link rel="icon" sizes="192x192" href="i/app-icon72x72@2x.png">

  <!-- Add to homescreen for Safari on iOS -->
  <meta name="apple-mobile-web-app-capable" content="yes">
  <meta name="apple-mobile-web-app-status-bar-style" content="black">
  <meta name="apple-mobile-web-app-title" content="Amaze UI"/>
  <link rel="apple-touch-icon-precomposed" href="i/app-icon72x72@2x.png">

  <!-- Tile icon for Win8 (144x144 + tile color) -->
  <meta name="msapplication-TileImage" content="i/app-icon72x72@2x.png">
  <meta name="msapplication-TileColor" content="#0e90d2">

  <link rel="stylesheet" href="__TMPL__/public/shop/css/amazeui.css">
  <link rel="stylesheet" href="__TMPL__/public/shop/css/jiesuan.css">
  <style>
	  .alert-success { color: #3c763d; background-color: #dff0d8; border-color: #d6e9c6;}
  </style>
</head>
<body onload="javascript:return require();">
<div class="alert"></div>
	<!--<header data-am-widget="header" class="am-header am-header-default">
		<div class="am-header-left am-header-nav">
      		<a href="javascript:void(0);" onclick="javascript:history.back(-1);return false;">返回
      			<i class="am-header-icon am-icon-chevron-left"></i>
      		</a>
  		</div>
		<h1 class="am-header-title">
			<a href="#title-link">结账</a>
			<div class="orderid" ></div>
		</h1>
	</header>-->
	<section class="wapper">
		<div class="am-g am-padding am-posre">
			<!--左边内容-->
			<div class="orderid" ></div>
			<section class="am-u-sm-6 am-u-md-6 am-u-lg-6">
				<div class="" >
					<div data-am-widget="titlebar" class="am-titlebar am-titlebar-default" >
					    <h2 class="am-titlebar-title">选择其他支付方式</h2>
					</div>
					<div class="am-margin-top am-margin-left-sm pay_type">
						<ul class="am-list am-avg-sm-3 am-avg-md-3 am-avg-lg-3 am-thumbnails">
							<li id="balance">
								<img class="am-thumbnail"  src="__TMPL__/public/shop/img/hyzf.png" />
								<label>会员卡支付</label>
							</li>
							<li id="currency">
								<img class="am-thumbnail" src="__TMPL__/public/shop/img/xj.png" />
								<label>现金支付</label>
							</li>
							<li id="weixin">
								<img class="am-thumbnail" src="__TMPL__/public/shop/img/wx.png" />
								<label>微信支付</label>
							</li>
							<li id="alipay">
								<img class="am-thumbnail" src="__TMPL__/public/shop/img/zfb.png" />
								<label>支付宝</label>
							</li>
							<li id="amend">
								<img class="am-thumbnail" src="__TMPL__/public/shop/img/jfzf.png" />
								<label>积分支付</label>
							</li>
							<li id="waimai">
								<img class="am-thumbnail" src="__TMPL__/public/shop/img/wm.png" />
								<label>外卖支付</label>
							</li>
						</ul>
					</div>
				</div>
				<div class="">
					<div data-am-widget="titlebar" class="am-titlebar am-titlebar-default" >
					    <h2 class="am-titlebar-title">其他操作</h2>
					</div>
					<div class="am-margin-top am-margin-left-sm other">
						<ul class="am-list am-avg-sm-3 am-avg-md-3 am-avg-lg-3 am-thumbnails">
							<!--<li class="am-sc-bg">
								<img class="am-thumbnail" src="__TMPL__/public/shop/img/hyk.png" />
								<label>会员</label>
							</li>
							<li>
								<img class="am-thumbnail" src="__TMPL__/public/shop/img/zk.png" />
								<label>整单折扣</label>
							</li>-->
							<li id="amends">
								<img class="am-thumbnail" src="__TMPL__/public/shop/img/dh.png" />
								<label>积分兑换</label>
							</li>
						</ul>
					</div>
				</div>
			</section>
			<!--分割线-->
			<div class="am-divider"></div>
			<!--右边内容-->
			<section class="am-u-sm-6 am-u-md-6 am-u-lg-6" >
				<div class="">
					<form class="am-form am-form-horizontal">
						<div class="am-form-group">
    						<label class="am-u-sm-2 am-form-label">应收：</label>
					    	<div class="am-u-sm-10">
					      		<input type="text" readonly="readonly" class="all_money" value="">
					   	 	</div>
					  	</div>
						<div class="am-form-group input-bg">
    						<label class="am-u-sm-2 am-form-label">待收：</label>
					    	<div class="am-u-sm-10">
					      		<input type="text" class="am-text-white" id="s_pay" readonly="readonly" value="">
					   	 	</div>
					  	</div>
					  	<div class="am-form-group">
    						<label class="am-u-sm-2 am-form-label">现金：</label>
					    	<div class="am-u-sm-10">
					      		<input type="text" class="cash" id="cash" readonly="readonly" value="" style="color:#D10612;">
					   	 	</div>
					  	</div>
					  	<div class="am-form-group am-bg-white am-border am-margin-top-xl">
    						<label class="am-u-sm-2 am-form-label">找零：</label>
					    	<div class="am-u-sm-10">
					      		<input type="text" readonly="readonly" value="" id="giveChange" style="color:#FFA300;">
					   	 	</div>
					  	</div>
					  	<div class="am-form-group keybord-box">
					  		<table class="am-table am-text-center">
					  			<tbody>
					  				<tr>
					  					<td><label class="number" id="7">7</label></td>
					  					<td><label class="number" id="8">8</label></td>
					  					<td><label class="number" id="9">9</label></td>
					  					<td><label class="price am-btn-danger" id="100">￥100</label></td>
					  					<td><label class="delete"><em class="am-icon-mail-reply"></em></label></td>
					  				</tr>
					  				<tr>
					  					<td><label class="number" id="4">4</label></td>
					  					<td><label class="number" id="5">5</label></td>
					  					<td><label class="number" id="6">6</label></td>
					  					<td><label class="price am-btn-danger" id="50">￥50</label></td>
					  					<td><label class="am-normal empty">清空</label></td>
					  				</tr>
					  				<tr>
					  					<td><label class="number" id="1">1</label></td>
					  					<td><label class="number" id="2">2</label></td>
					  					<td><label class="number" id="3">3</label></td>
					  					<td><label class="price am-btn-danger" id="20">￥20</label></td>
					  					<td rowspan="2"><label class="submit am-normal">确定</label></td>
					  				</tr>
					  				<tr>
					  					<td><label class="number" id="00">00</label></td>
					  					<td><label class="number" id="0">0</label></td>
					  					<td><label class="number" id="point">.</label></td>
					  					<td><label class="price am-btn-danger" id="10">￥10</label></td>
					  				</tr>
					  			</tbody>
					  		</table>
					  	</div>
					  	
					</form>
				</div>
			</section>
		</div>
		
	</section>

<!--[if (gte IE 9)|!(IE)]><!-->
<script src="__TMPL__/public/shop/js/jquery.js"></script>
<script src="__STATIC__/js/layer/layer.js"></script>
<!--<![endif]-->
<!--[if lte IE 8 ]>
<script src="__TMPL__/public/shop/js/amazeui.ie8polyfill.min.js"></script>
<![endif]-->
<script src="__TMPL__/public/shop/js/amazeui.min.js"></script>
<script language="javascript" src="__TMPL__/public/assets/dayin/LodopFuncs.js"></script>
<script>
	$(function(){
		$('.am-table label.number').click(function(){
			var old_text = $('.cash').val();
			var text = $(this).attr('id');
			if(text == "point"){
				if(old_text.indexOf('.') == -1){
					var new_text = old_text + ".";
				}else{
					var new_text = old_text;
				}
			}else{
				var new_text = old_text + text;
			}
			$('.cash').val(new_text);
		})
		
		//选择金额
		$('.am-table label.price').click(function(){
			$('.cash').val($(this).attr('id'));
		})
		
		//删除
		$('.am-table label.delete').click(function(){
			var old_text = $('.cash').val();
			old_text = old_text.substring(0, old_text.length-1);
			$('.cash').val(old_text);
		})
		
		//清空
		$('.am-table label.empty').click(function(){
			$('.cash').val("");
		})
		//确定
		$('.am-table label.submit').click(function(){
			var cash=$('#cash').val();
			var s_pay=$('#s_pay').val();
			var giveChange=cash-s_pay;
			$('#giveChange').val(giveChange);
		})
	})
</script>
	<script>
        var order=parent.$('.orderid').children('input').val();
        var all_money=parent.$('.all').html();
        var vip=parent.$('#vip').val();
        var up=parent.$('#update').val();
        $.post("{:url('orderpay/paytype')}",{order:order,vip:vip,all_money:all_money,up:up},function (date) {
            $('.all_money').val(date.msg.money);
            if(date.msg.status == 1)
			{
                $('#s_pay').val(date.msg.vip);
			}else{
                $('#s_pay').val(date.msg.all_money);
			}
        },'json');
        $('.orderid').html(order);
        /*
        * 余额支付
        * */
        $('#balance').click(function(){
            var order=$('.orderid').html();
            var s_pay=$('#s_pay').val();
            var state=1;
            var index = parent.layer.getFrameIndex(window.name); //获取当前窗体索引
            $.post("{:url('orderpay/pay')}",{state:state,order:order,s_pay:s_pay},function(data){
                var src = '';
                var con=data.msg.con;
				var orderid = data.msg.orderid;
				if(data.msg.sate == 1){
					parent.$('.orderid').html('<input type="hidden" id="orderid" value="">')
					parent.$('#cart').html(src);
					parent.$('.all').html(src);
					$.post("{:url('/home/print/printto')}",{order:orderid},function(date){
                                                      PrintByPrinterIndex(date.msg); 
                                                      layer.alert('支付成功，请打印成功后关闭', {
                                                                          skin: 'layui-layer-molv', //样式类名
                                                                          closeBtn: 0
                                                                  }, function(){
                                                                            parent.layer.close(index); //执行关闭
                                                                  });
		                                },'json');
                    parent.$('#vip').html(src);
                    //setTimeout(function () {
                        //parent.layer.close(index); //执行关闭
                    //}, 1000);
				}else{
                    alert(con);
                }
            },'json')
        })
        /*
       * 现金支付
       * */
        $('#currency').click(function(){
            var order=$('.orderid').html();
            var s_pay=$('#s_pay').val();
            var cash=$('#cash').val();
			if(cash == "")
			{
				alert('请确认是否收钱');
				return false;
			}

            var giveChange=$('#giveChange').val();
			if(giveChange == "")
			{
				alert('请确认是否收钱');
				return false;
			}
            var state=2;
            var index = parent.layer.getFrameIndex(window.name); //获取当前窗体索引
			$.post("{:url('orderpay/pay')}",{state:state,order:order,s_pay:s_pay,giveChange:giveChange,cash:cash},function(data){
			        var con=data.msg.con;
				    var sate=data.msg.sate;
					var orderid = data.msg.orderid;
					var src = '';
					if(sate == 1)
					{
						parent.$('.orderid').html('<input type="hidden" id="orderid" value="">')
						parent.$('#cart').html(src);
						parent.$('.all').html(src);
						$.post("{:url('/home/print/printto')}",{order:orderid},function(date){
                                                      PrintByPrinterIndex(date.msg); 
                                                      layer.alert('支付成功，请打印成功后关闭', {
                                                                          skin: 'layui-layer-molv', //样式类名
                                                                          closeBtn: 0
                                                                  }, function(){
                                                                            parent.layer.close(index); //执行关闭
                                                                  });
		                                },'json');
                        parent.$('#vip').html(src);
                        //setTimeout(function () {
                            //parent.layer.close(index); //执行关闭
                        //}, 1000);
					}else{
					    alert(con);
					}
				},'json')
        })
        /*
    	* 积分支付
    	* */
        $('#amend').click(function(){
            var order=$('.orderid').html();
            var s_pay=0;
            var state=3;
            var index = parent.layer.getFrameIndex(window.name); //获取当前窗体索引
            $.post("{:url('orderpay/pay')}",{state:state,order:order,s_pay:s_pay},function(data){
                var src = '';
                var con=data.msg.con;
				var orderid = data.msg.orderid;
                if(data.msg.sate == 1){
                    parent.$('.orderid').html('<input type="hidden" id="orderid" value="">')
                    parent.$('#cart').html(src);
                    parent.$('.all').html(src);
					$.post("{:url('/home/print/printto')}",{order:orderid},function(date){
                                                      PrintByPrinterIndex(date.msg); 
                                                      layer.alert('支付成功，请打印成功后关闭', {
                                                                          skin: 'layui-layer-molv', //样式类名
                                                                          closeBtn: 0
                                                                  }, function(){
                                                                            parent.layer.close(index); //执行关闭
                                                                  });
		                                },'json');
                    parent.$('#vip').html(src);
                    //setTimeout(function () {
                        //parent.layer.close(index); //执行关闭
                    //}, 1000);
                }else{
                    alert(con);
                }
            },'json')
        })
		/*
		* 微信支付
		* */
        $('#weixin').click(function(){
            var order=$('.orderid').html();
            var s_pay=$('#s_pay').val();
            var state=4;
            var index = parent.layer.getFrameIndex(window.name); //获取当前窗体索引
            $.post("{:url('orderpay/pay')}",{state:state,order:order,s_pay:s_pay},function(data){
                var src = '';
                var con=data.msg.con;
				var orderid = data.msg.orderid;
                if(data.msg.sate == 1){
                    parent.$('.orderid').html('<input type="hidden" id="orderid" value="">')
                    parent.$('#cart').html(src);
                    parent.$('.all').html(src);
					$.post("{:url('/home/print/printto')}",{order:orderid},function(date){
                                                      PrintByPrinterIndex(date.msg); 
                                                      layer.alert('支付成功，请打印成功后关闭', {
                                                                          skin: 'layui-layer-molv', //样式类名
                                                                          closeBtn: 0
                                                                  }, function(){
                                                                            parent.layer.close(index); //执行关闭
                                                                  }); 
		                                },'json');
                    parent.$('#vip').html(src);
                    //setTimeout(function () {
                        //parent.layer.close(index); //执行关闭
                   // }, 1000);
                }else{
                    alert(con);
                }
            },'json')
        })
		/*
		* 支付宝支付
		* */
        $('#alipay').click(function(){
            var order=$('.orderid').html();
            var s_pay=$('#s_pay').val();
            var state=5;
            var index = parent.layer.getFrameIndex(window.name); //获取当前窗体索引
            $.post("{:url('orderpay/pay')}",{state:state,order:order,s_pay:s_pay},function(data){
                var src = '';
                var con=data.msg.con;
				var orderid = data.msg.orderid;
                if(data.msg.sate == 1){
                    parent.$('.orderid').html('<input type="hidden" id="orderid" value="">')
                    parent.$('#cart').html(src);
                    parent.$('.all').html(src);
					$.post("{:url('/home/print/printto')}",{order:orderid},function(date){
                                                      PrintByPrinterIndex(date.msg); 
                                                      layer.alert('支付成功，请打印成功后关闭', {
                                                                          skin: 'layui-layer-molv', //样式类名
                                                                          closeBtn: 0
                                                                  }, function(){
                                                                            parent.layer.close(index); //执行关闭
                                                                  }); 
		                                },'json');
                    parent.$('#vip').html(src);
                    //setTimeout(function () {
                       // parent.layer.close(index); //执行关闭
                    //}, 1000);
                }else{
                    alert(con);
                }
            },'json')
        })
        /*
        * 外卖支付
        * */
        $('#waimai').click(function(){
            var order=$('.orderid').html();
            var s_pay=$('#s_pay').val();
            var state=6;
            var index = parent.layer.getFrameIndex(window.name); //获取当前窗体索引
            $.post("{:url('orderpay/pay')}",{state:state,order:order,s_pay:s_pay},function(data){
                var src = '';
                var con=data.msg.con;
				var orderid = data.msg.orderid;
                if(data.msg.sate == 1){
                    parent.$('.orderid').html('<input type="hidden" id="orderid" value="">')
                    parent.$('#cart').html(src);
                    parent.$('.all').html(src);
					$.post("{:url('/home/print/printto')}",{order:orderid},function(date){
                                                      PrintByPrinterIndex(date.msg); 
                                                      layer.alert('支付成功，请打印成功后关闭', {
                                                                          skin: 'layui-layer-molv', //样式类名
                                                                          closeBtn: 0
                                                                  }, function(){
                                                                            parent.layer.close(index); //执行关闭
                                                                  }); 
		                                },'json');
                    parent.$('#vip').html(src);
                    //setTimeout(function () {
                        //parent.layer.close(index); //执行关闭
                    //}, 1000);
                }else{
                    alert(con);
                }
            },'json')
		})
        /*
        *改价结算
        * */
        $('#amends').click(function(){
            layer.open({
                type: 2,
                title: '改价结算',
                shadeClose: true,
                shade: false,
                maxmin: false, //开启最大化最小化按钮
                area: ['100%', '100%'],
                content: "{:url('orderpay/amend')}"//视图路径
            })

        })
        
		//打印
        var LODOP; //声明为全局变量 
        var shuju;
        var shuone;
        var arr = [];
        var arr1 = [];
        var arr2 = [];
        var arr3 = [];
       
        var pdate = [];
        $.ajax({
           async:false,
           type:"POST",
           url:"/home/Print/printname",
           success:function(dayin){
               pdate = JSON.parse(dayin.msg);
           }
        });
	function PrintByPrinterIndex(date) {
            var shuju = JSON.parse(date);
                CreatePrintPage(shuju);
                if (LODOP.SET_PRINTER_INDEX(pdate.print_name)) 
		LODOP.PRINT();
                
                for(var i=1;i<shuju.length;i++){
                    //console.log(shuju);return;
                    for(var j=0;j<shuju[i].shuliang;j++){
                        var ping = [];
                        var shul = [];
                        ping.push(shuju[i].pinming);
                        shul.push(shuju[i].shuliang);
                        LODOP=getLodop();
                        LODOP.ADD_PRINT_TEXT(20,18,345,31,"流水号:"+shuju[0].num);
                        LODOP.SET_PRINT_STYLEA(0,"FontSize",11);
                        LODOP.ADD_PRINT_TEXT(40,18,345,31,"订单号:"+shuju[0].dingdan);
                        LODOP.SET_PRINT_STYLEA(0,"FontSize",7);
                        LODOP.ADD_PRINT_TEXT(53,18,150,31,"品名:"+ping);
                        LODOP.SET_PRINT_STYLEA(0,"FontSize",7);
                        LODOP.ADD_PRINT_TEXT(66,38,150,31,shuju[i].nature);
                        LODOP.SET_PRINT_STYLEA(0,"FontSize",7);
                        LODOP.ADD_PRINT_TEXT(80,18,150,31,"数量:1");
                        LODOP.SET_PRINT_STYLEA(0,"FontSize",7);
                        //LODOP.ADD_PRINT_TEXT(72,18,220,31,"时间:"+shuju[0].付款时间);
                        //LODOP.SET_PRINT_STYLEA(0,"FontSize",7);
                        //LODOP.SET_PRINTER_INDEXA(0);//指定打印机
                        LODOP.SET_LICENSES("","4154EF517CB1509D9291CA6610B5CF0B","C94CEE276DB2187AE6B65D56B3FC2848","");
                        LODOP.SET_PRINT_PAGESIZE(1, 400,280, 45,"");
                        if (LODOP.SET_PRINTER_INDEX(pdate.print_namebq)) 
                        LODOP.PRINT();
                   }
                }
	};
        function PreviewByPrinterIndex(intPrinterIndex) {	
		CreatePrintPage();
		if (LODOP.SET_PRINTER_INDEX(intPrinterIndex))
		LODOP.PREVIEW();		
	};
	function CreatePrintPage(shuju) {
            var chang=shuju.length-1;
		LODOP=getLodop();  	
		LODOP.ADD_PRINT_TEXT(40,65,90,40,"结账单");
                LODOP.SET_PRINT_STYLEA(0,"FontSize",16);
				LODOP.ADD_PRINT_TEXT(60,20,200,40,"流水号:"+shuju[0].num);
				LODOP.SET_PRINT_STYLEA(0,"FontSize",13);
                LODOP.ADD_PRINT_TEXT(80,20,345,31,"订单号:"+shuju[0].dingdan);
                LODOP.SET_PRINT_STYLEA(0,"FontSize",8);
                LODOP.ADD_PRINT_TEXT(95,20,345,31,"收银员:"+shuju[0].收银员);
                LODOP.SET_PRINT_STYLEA(0,"FontSize",8);
                LODOP.ADD_PRINT_TEXT(110,20,345,31,"时间:"+shuju[0].付款时间);
                LODOP.SET_PRINT_STYLEA(0,"FontSize",8);
                LODOP.ADD_PRINT_LINE(125,15,125,170,0,1);
                LODOP.SET_PRINT_STYLEA(1,"FontSize",13);
		LODOP.SET_PRINT_STYLEA(1,"Bold",1);
		LODOP.ADD_PRINT_TEXT(130,20,345,31,"品名");
		LODOP.ADD_PRINT_TEXT(130,80,345,31,"数量");
	        LODOP.ADD_PRINT_TEXT(130,110,345,31,"价格");
		LODOP.ADD_PRINT_TEXT(130,145,345,31,"金额");
                LODOP.ADD_PRINT_LINE(142,15,142,170,0,1);
                Pinming(shuju);
                LODOP.ADD_PRINT_LINE(162+(18*chang),15,162+(18*chang),170,0,1);
                LODOP.ADD_PRINT_TEXT(166+(18*chang),20,345,31,"支付方式");
                LODOP.ADD_PRINT_TEXT(166+(18*chang),145,345,31,"金额");
                LODOP.SET_PRINT_STYLEA(0,"FontSize",9);
                LODOP.ADD_PRINT_LINE(180+(18*chang),15,180+(18*chang),170,0,1);
		LODOP.ADD_PRINT_TEXT(184+(18*chang),20,345,31,"现金");
                LODOP.ADD_PRINT_TEXT(184+(18*chang),138,345,31,shuju[0].现金);
                LODOP.ADD_PRINT_LINE(198+(18*chang),15,198+(18*chang),170,1,0);
                LODOP.ADD_PRINT_TEXT(210+(18*chang),20,345,31,"合计:"+shuju[0].合计);
                LODOP.ADD_PRINT_TEXT(210+(18*chang),130,345,31,"优惠:"+shuju[0].优惠);
                LODOP.ADD_PRINT_TEXT(225+(18*chang),20,345,31,"应收:"+shuju[0].应收);
                LODOP.ADD_PRINT_TEXT(240+(18*chang),20,345,31,"实收:"+shuju[0].实收);
                LODOP.ADD_PRINT_TEXT(255+(18*chang),20,345,31,"找零:"+shuju[0].找零);
                LODOP.ADD_PRINT_TEXT(280+(18*chang),55,345,31,"谢谢光临");
                LODOP.SET_PRINT_STYLEA(0,"FontSize",16);
				LODOP.SET_LICENSES("","4154EF517CB1509D9291CA6610B5CF0B","C94CEE276DB2187AE6B65D56B3FC2848","");
                LODOP.SET_PRINT_PAGESIZE(3,500,45,"");//这里3表示纵向打印且纸高“按内容的高度”；500表示纸宽500mm；45表示页底空白4.5mm	
	};	
        function Pinming(shuju){
            var iCurLine=152;
            for(i=1;i<shuju.length;i++){
                    LODOP.ADD_PRINT_TEXT(iCurLine,15,120,60,shuju[i].pinming);
					LODOP.SET_PRINT_STYLEA(0,"FontSize",7);
                    LODOP.ADD_PRINT_TEXT(iCurLine+10,15,120,60,shuju[i].nature);
					LODOP.SET_PRINT_STYLEA(0,"FontSize",7);
                    LODOP.ADD_PRINT_TEXT(iCurLine,125,25,60,shuju[i].shuliang);
					LODOP.SET_PRINT_STYLEA(0,"FontSize",7);
                    LODOP.ADD_PRINT_TEXT(iCurLine,140,32,60,shuju[i].jiage);
					LODOP.SET_PRINT_STYLEA(0,"FontSize",7);
                    LODOP.ADD_PRINT_TEXT(iCurLine,160,32,60,shuju[i].金额);
                    LODOP.SET_PRINT_STYLEA(0,"FontSize",7);
                    iCurLine = iCurLine+18;
            }
        }
	</script>
</body>
</html>